package com.ecar.core.order.dao;

import org.apache.ibatis.annotations.Param;

import com.ecar.common.dao.mybatis.MybatisMapper;
import com.ecar.core.order.entity.OrderPriceRule;

public interface OrderPriceRuleMapper extends MybatisMapper {
    int deleteByPrimaryKey(String id);

    int insert(OrderPriceRule record);

    int insertSelective(OrderPriceRule record);

    OrderPriceRule selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(OrderPriceRule record);

    int updateByPrimaryKey(OrderPriceRule record);

	OrderPriceRule queryOrderPriceRule(int carLevel, int serviceType);
	
	OrderPriceRule selectByCode(@Param("carLevel")int carLevel,@Param("serviceType")int serviceType);
}